package structures;
@SuppressWarnings("unused")
public class AD {

	private long idAdvertisement;
	private String description;
	private String title;
	private Double price;
	private long idUser;
	private String payPalEmail;
	private String boughtBy;
	private String feedbackText;
	private int feedbackValue;
	private String wikiInfo;
	
	public AD(long idAdvertisement, String description, String title, Double price, long idUser, String payPalEmail, String boughtBy, String feedbackText, int feedbackValue) {
		this.idAdvertisement = idAdvertisement;
		this.description = description;
		this.title = title;
		this.price = price;
		this.idUser = idUser;
		this.payPalEmail = payPalEmail;
		this.boughtBy = boughtBy;
		this.feedbackText = feedbackText;
		this.feedbackValue = feedbackValue;
	}
	
	public void addWikiInfo(String wikiInfo){
		this.wikiInfo = wikiInfo;
	}
	
	public long getId(){
		return this.idAdvertisement;
	}
	
	public String getTitle(){
		return this.title;
	}
	
}
